package com.spzx.payment.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spzx.payment.domain.PaymentInfo;
import com.spzx.payment.mapper.PaymentInfoMapper;
import com.spzx.payment.service.PaymentInfoService;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class PaymentInfoServiceImpl extends ServiceImpl<PaymentInfoMapper , PaymentInfo> implements PaymentInfoService {
    @Async
    @Override
    public void savePaymentInfoAsync(PaymentInfo paymentInfo) {
        this.save(paymentInfo);
    }
}
